import request from '@/utils/request'

// 获取流程模板列表
export function getEmpProcessList(data) {
    return request.get('/asset/process/empProcessList',{params:data})
}

// 获取流程模板列表
export function getProcessTemplateList() {
    return request.get('/process/template/list')
}

// 获取资产借出单详情
export function getBorrowerDetail(data) {
    return request.get('/system/assignments/detail', { params: data })
}


//获取耗材借出单详情
export function getBorrowerMaterialDetail(data) {
    return request.get('/system/assignments/materialDetail', { params: data })
}

// 获取资产报修单详情
export function getAssetRepairDetail(id) {
    return request.get('/system/repair/detail?id='+id)
}

// 获取资产归还单详情
export function getAssetReturnDetail(id) {
    return request.get('/system/assignments/detailAll?id='+id)
}